package com.qyhl.webtv.commonlib.entity.news;


import java.io.Serializable;

/**
 * Created by qyhl on 2017/11/15.
 * 自定义新闻类型
 */

public class GlobalNewsBean implements Serializable {
    public String title;//标题
    public String newsId;//新闻id
    public String url;//链接
    public String cover;//封面
    public String livetype;//直播类型
    public int newsStyle;//新闻显示样式
    public String publishDate;//发布时间
    public String type;//新闻类型  0:置顶 1:普通新闻 2:图片新闻 3:视频新闻 4:广告 5:互动直播  6:新趣汇
    // 7:小视频 8:标题新闻 9:普通直播 10.抓取新闻 11.乡镇 12.政务 13.专题 14.图文直播 15.圈子 16.圈子话题 17.报料栏目 18.报料 19.新活动   100.乡镇，政务推荐标题
    public int scanNum;//浏览数
    public String origin;//汇聚来源
    public String catalogId;//栏目id
    public boolean hasPicture;//是否有引导图
    public String topStyle;//  1:普通新闻 2:图片新闻 3:视频新闻 4:广告 5:互动直播  6:新趣汇 7:小视频 8:标题新闻 9:普通直播 10.抓取新闻 11.投票活动 12.线下活动
    //图片新闻列表引导图
    public String pictureOne;
    public String pictureTwo;
    public String pictureThree;
    public int commentNum;//评论数

    public String isShare;

    public String getIsShare() {
        return isShare;
    }

    public void setIsShare(String isShare) {
        this.isShare = isShare;
    }

//    public PtgNativeExpressAd ad;
//
//    public PtgNativeExpressAd getAd() {
//        return ad;
//    }
//
//    public void setAd(PtgNativeExpressAd ad) {
//        this.ad = ad;
//    }
//
//    public GlobalNewsBean(String type, boolean hasPicture, PtgNativeExpressAd ad) {
//        this.type = type;
//        this.hasPicture = hasPicture;
//        this.ad = ad;
//    }

    public GlobalNewsBean(String title, String newsId, String cover, int newsStyle, String type, int scanNum, String origin, boolean hasPicture, int commentNum) {
        this.title = title;
        this.newsId = newsId;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.hasPicture = hasPicture;
        this.commentNum = commentNum;
    }

    public GlobalNewsBean(String title, String newsId, String url, String cover, String livetype, int newsStyle, String publishDate,
                          String type, int scanNum, String origin, String catalogId, boolean hasPicture, String topStyle, String pictureOne,
                          String pictureTwo, String pictureThree, int commentNum) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.livetype = livetype;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.topStyle = topStyle;
        this.pictureOne = pictureOne;
        this.pictureTwo = pictureTwo;
        this.pictureThree = pictureThree;
        this.commentNum = commentNum;
    }

    public GlobalNewsBean(String title, String newsId, String url, String cover, int newsStyle, String publishDate,
                          String type, int scanNum, String origin, String catalogId, boolean hasPicture, String livetype) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.livetype = livetype;
    }


    public GlobalNewsBean(String title, String newsId, String url, String cover, int newsStyle, String publishDate, String type,
                          int scanNum, String origin, String catalogId, boolean hasPicture, String pictureOne, String pictureTwo, String pictureThree, String livetype) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.pictureOne = pictureOne;
        this.pictureTwo = pictureTwo;
        this.pictureThree = pictureThree;
        this.livetype = livetype;
    }

    public GlobalNewsBean(String title, String newsId, String url, String cover, int newsStyle, String publishDate, String type,
                          int scanNum, String origin, String catalogId, boolean hasPicture, String topStyle, String pictureOne, String pictureTwo, String pictureThree, String livetype) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.topStyle = topStyle;
        this.pictureOne = pictureOne;
        this.pictureTwo = pictureTwo;
        this.pictureThree = pictureThree;
        this.livetype = livetype;
    }


    public GlobalNewsBean(String title, String cover, String type, int newsStyle, boolean hasPicture) {
        this.title = title;
        this.cover = cover;
        this.type = type;
        this.newsStyle = newsStyle;
        this.hasPicture = hasPicture;
    }

    public GlobalNewsBean(String title, String newsId, String url, String cover, int newsStyle, String publishDate, String type,
                          int scanNum, String origin, String catalogId, boolean hasPicture, String pictureOne, String pictureTwo, String pictureThree, String livetype, int commentNum) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.pictureOne = pictureOne;
        this.pictureTwo = pictureTwo;
        this.pictureThree = pictureThree;
        this.livetype = livetype;
        this.commentNum = commentNum;
    }

    public GlobalNewsBean(String title, String newsId, String url, String cover, int newsStyle, String publishDate, String type,
                          int scanNum, String origin, String catalogId, boolean hasPicture, String topStyle, String livetype) {
        this.title = title;
        this.newsId = newsId;
        this.url = url;
        this.cover = cover;
        this.newsStyle = newsStyle;
        this.publishDate = publishDate;
        this.type = type;
        this.scanNum = scanNum;
        this.origin = origin;
        this.catalogId = catalogId;
        this.hasPicture = hasPicture;
        this.topStyle = topStyle;
        this.livetype = livetype;
    }

    public String getLivetype() {
        return livetype;
    }

    public void setLivetype(String livetype) {
        this.livetype = livetype;
    }

    public String getTopStyle() {
        return topStyle;
    }

    public void setTopStyle(String topStyle) {
        this.topStyle = topStyle;
    }

    public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNewsId() {
        return newsId;
    }

    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public int getNewsStyle() {
        return newsStyle;
    }

    public void setNewsStyle(int newsStyle) {
        this.newsStyle = newsStyle;
    }

    public String getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getScanNum() {
        return scanNum;
    }

    public void setScanNum(int scanNum) {
        this.scanNum = scanNum;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public boolean isHasPicture() {
        return hasPicture;
    }

    public void setHasPicture(boolean hasPicture) {
        this.hasPicture = hasPicture;
    }

    public String getPictureOne() {
        return pictureOne;
    }

    public void setPictureOne(String pictureOne) {
        this.pictureOne = pictureOne;
    }

    public String getPictureTwo() {
        return pictureTwo;
    }

    public void setPictureTwo(String pictureTwo) {
        this.pictureTwo = pictureTwo;
    }

    public String getPictureThree() {
        return pictureThree;
    }

    public void setPictureThree(String pictureThree) {
        this.pictureThree = pictureThree;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }


    @Override
    public String toString() {
        return "GlobalNewsBean{" +
                "title='" + title + '\'' +
                ", newsId='" + newsId + '\'' +
                ", url='" + url + '\'' +
                ", cover='" + cover + '\'' +
                ", livetype='" + livetype + '\'' +
                ", newsStyle=" + newsStyle +
                ", publishDate='" + publishDate + '\'' +
                ", type='" + type + '\'' +
                ", scanNum=" + scanNum +
                ", origin='" + origin + '\'' +
                ", catalogId='" + catalogId + '\'' +
                ", hasPicture=" + hasPicture +
                ", topStyle='" + topStyle + '\'' +
                ", pictureOne='" + pictureOne + '\'' +
                ", pictureTwo='" + pictureTwo + '\'' +
                ", pictureThree='" + pictureThree + '\'' +
                ", commentNum=" + commentNum +
                '}';
    }
}
